package com.liangsui.cmall.order.feign;

import com.liangsui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * ProductFeignService
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/8/19 22:55
 */
@FeignClient("cmall-product")
public interface ProductFeignService {
    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id") Long skuId);
}
